package com.jxc.jxc01.hch.dao;


import com.jxc.jxc01.hch.entity.Commodity;
import com.jxc.jxc01.hch.entity.PageHelper;

public interface CommodityDao {
    public PageHelper<Commodity> list(PageHelper<Commodity> pageHelper);
    public int update(Commodity commodity);
    public int delete(int id);
    public boolean insert(Commodity commodity);
    public PageHelper<Commodity> query(String name, PageHelper<Commodity> pageHelper);
}
